package com.aishua.fire.common.constant;

public class DictConstants {
	
	private DictConstants() {
	    throw new IllegalStateException("DictConstants class");
	}
	
	/** 是否为白名单,0为需要权限校验,1为直接放行 **/
	public static final String ISBLANK_PERM_NO = "0";
	public static final String ISBLANK_PERM_YES = "1";
	
	/** 没有验证权限,0为有,1为直接放行 **/
	public static final String NO_VALIDATE_NO = "0";
	public static final String NO_VALIDATE_YES = "1";
	
	
	/** 登录历史表字典状态 **/
	public static final String LOGINHISTORY_SUCCESS = "SUC";
	public static final String LOGINHISTORY_FAIL = "FAL";
	
	/** 账户状态 1.正常    2.禁用 **/
	public static final String ACCOUNT_YES = "1";
	public static final String ACCOUNT_NO = "0";
	
	
	/** 员工表表字典状态 **/
	public static final String IN_COMPANY = "在职";
	public static final String NOT_IN_COMPANY = "离职";
	/**
	 * 自动添加管理员 到 账户组
	 */
	public static final String ADMIN_ACCTEAM_NAME = "supper";
	public static final String ADMIN_ACCTEAM_DESC = "超级权限";
	/**
	 * 自动添加供应商 到 账户组
	 */
	public static final String SUPPLIER_ACCTEAM_NAME = "supplier";
	public static final String SUPPLIER_ACCTEAM_DESC = "供应商管理员权限";
	
	/** 权限表 **/
	public static final String URL_TYPE = "0";
	public static final String DATABASE_TYPE = "1";
	
	
	/** 权限控制表 **/
	/** 正向控制,反向控制 */
	public static final String PERM_AUTHTYPE_ALLOW = "allow";
	public static final String PERM_AUTHTYPE_DIABLE = "disable";
	
	/** 权限的类型 */
	public static final String PERM_AUTHACTION_ALWAYS = "always";
	public static final String PERM_AUTHACTION_ADD = "add";
	public static final String PERM_AUTHACTION_DELETE = "delete";
	public static final String PERM_AUTHACTION_UPDATE = "update";
	public static final String PERM_AUTHACTION_FIND = "find";
	
	/**
	 * 校验状态码
	 */
	public static final String DICT_S = "0";
	public static final String DICT_N = "1";
	
	/**
	 * 消息状态
	 */
	public static final String MSG_UNREAD = "0";
	public static final String MSG_READED = "1";
	
	/**
	 * 消息类型
	 */
	public static final String MSG_GENERAL_TYPE = "0";
	public static final String MSG_PRIVATE_TYPE = "1";
	/**
	/**
	 * 消息状态
	 */
	public static final String MSG_LEVEL_NORMAL = "0";
	public static final String MSG_LEVEL_JINJI = "1";
	public static final String MSG_LEVEL_YANZHONG = "2";
	public static final String MSG_LEVEL_WARN = "3";
	
	
	/**
	 * 软删除状态(0-正常   1-删除)  
	 */
	public static final String DELETE_NO = "0";
	public static final String DELETE_YES = "1";
	
	
}
